export function isString(str: any): boolean {
  return typeof str === 'string' || str instanceof String;
}


export function isNumber(num: any): boolean {
  return typeof num === 'number' || num instanceof Number;
}

export function isArray(arr: any): boolean {
  return Array.isArray(arr);
}

export function isObject(obj: any): boolean {
  return obj !== null && typeof obj === 'object';
}
